package org.qiyu.live.provider.sku.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 商品sku信息表
 * </p>
 *
 * @author zx
 * @since 2024-08-14
 */
@TableName("t_sku_info")
@ApiModel(value = "SkuInfo对象", description = "商品sku信息表")
public class SkuInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("sku id")
    private Long skuId;

    @ApiModelProperty("sku价格")
    private Long skuPrice;

    @ApiModelProperty("sku编码")
    private String skuCode;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("缩略图")
    private String iconUrl;

    @ApiModelProperty("原图")
    private String originalIconUrl;

    @ApiModelProperty("商品描述")
    private String remark;

    @ApiModelProperty("状态(0下架，1上架)")
    private Byte status;

    @ApiModelProperty("类目id")
    private Long categoryId;

    @ApiModelProperty("创建时间")
    Date createTime;

    @ApiModelProperty("更新时间")
    Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Long getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(Long skuPrice) {
        this.skuPrice = skuPrice;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getOriginalIconUrl() {
        return originalIconUrl;
    }

    public void setOriginalIconUrl(String originalIconUrl) {
        this.originalIconUrl = originalIconUrl;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "SkuInfo{" +
            "id = " + id +
            ", skuId = " + skuId +
            ", skuPrice = " + skuPrice +
            ", skuCode = " + skuCode +
            ", name = " + name +
            ", iconUrl = " + iconUrl +
            ", originalIconUrl = " + originalIconUrl +
            ", remark = " + remark +
            ", status = " + status +
            ", categoryId = " + categoryId +
            ", createTime = " + createTime +
            ", updateTime = " + updateTime +
        "}";
    }
}
